<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="https://unpkg.com/vue@next"></script>
<div id="app">
    <table>
        <!-- 不管元素是否是table指定的子元素，会统一渲染到table->tbody->tr -->
        <tr v-is="'todo-item'"></tr>
    </table>

</div>
<script>
    const vueOpt = {
        data(){
            return {

            }
        }
    }

    const app = Vue.createApp(vueOpt);

    app.component('todo-item', {
        data(){
            return {

            }
        },

        template: `
            <div>哈哈哈</div>
        `
    });

    app.mount('#app')

</script>
</body>
</html>
